package com.java.al.date;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class CalDate {
	
	public static String addMonth(String strDate){
		Calendar cal = Calendar.getInstance();
		SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
//			sdf.sdf.format(new Date());
		
		cal.setTime(new Date());
//		cal.add(Calendar.MONTH, 6);
		return sdf.format(cal.getTime());
	}
	public static void main(String[] args) {
		System.out.println(CalDate.addMonth("2012-12-22"));
	}
}
